package erlwitch.tree;

import java.util.List;

public class FunctionClause {
	private String name;
	private List<Term> params;
	private List<Term> seq;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<Term> getParams() {
		return params;
	}
	public void setParams(List<Term> params) {
		this.params = params;
	}
	public List<Term> getSeq() {
		return seq;
	}
	public void setSeq(List<Term> seq) {
		this.seq = seq;
	}
	public FunctionClause(String name, List<Term> params, List<Term> seq) {
		super();
		this.name = name;
		this.params = params;
		this.seq = seq;
	}
	public FunctionClause(String name, List<Term> seq) {
		this.name = name;
		this.params = Term.emptyList();
		this.seq = seq;
	}
}
